<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: model/dgr-route-manager.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('dc/dd8/dgr-route-manager_8h_source.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">dgr-route-manager.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../dc/dd8/dgr-route-manager_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/* -*- Mode:C++; c-file-style:&quot;gnu&quot;; indent-tabs-mode:nil; -*- */</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">/*</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> * Copyright 2007 University of Washington</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> * </span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> * This program is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"> * it under the terms of the GNU General Public License version 2 as</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment"> * published by the Free Software Foundation;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"> *</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"> * This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment"> *</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment"> * along with this program; if not, write to the Free Software</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment"> *</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment"> * Authors:  Craig Dowell (craigdo@ee.washington.edu)</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"> *           Tom Henderson (tomhend@u.washington.edu)</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment"> */</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#ifndef DGR_ROUTE_MANAGER_H</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#define DGR_ROUTE_MANAGER_H</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d7/d2e/namespacens3.html">ns3</a> {</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">   40</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>{</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>  <span class="keyword">static</span> uint32_t <a class="code hl_function" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a87bf2995a6dcd48692147452fea88d40">AllocateRouterId</a> ();</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#acea317a83af55525aa4453f33839db3a">DeleteDGRRoutes</a> ();</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a62b76ca8cab68a61efd72c5fe5d092dc">BuildDGRRoutingDatabase</a> ();</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#ad637a566676faf22176f66f1afdb8c3c">InitializeRoutes</a> ();</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#ab0c2ea34c378e91e6dce16c51fc005f1">   75</a></span>  <a class="code hl_function" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#ab0c2ea34c378e91e6dce16c51fc005f1">DGRRouteManager</a> (<a class="code hl_class" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a>&amp; srm);</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a11c434011ef28a8a8cfb504fda0a50a3">   84</a></span>  <a class="code hl_class" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a>&amp; <a class="code hl_function" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a11c434011ef28a8a8cfb504fda0a50a3">operator= </a>(<a class="code hl_class" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a>&amp; srm);</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>};</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>} <span class="comment">// namespace ns3</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="preprocessor">#endif </span><span class="comment">/* DGR_ROUTE_MANAGER_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_route_manager_html"><div class="ttname"><a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">ns3::DGRRouteManager</a></div><div class="ttdoc">A global global router.</div><div class="ttdef"><b>Definition</b> <a href="../../dc/dd8/dgr-route-manager_8h_source.html#l00040">dgr-route-manager.h:41</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_route_manager_html_a11c434011ef28a8a8cfb504fda0a50a3"><div class="ttname"><a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a11c434011ef28a8a8cfb504fda0a50a3">ns3::DGRRouteManager::operator=</a></div><div class="ttdeci">DGRRouteManager &amp; operator=(DGRRouteManager &amp;srm)</div><div class="ttdoc">Global Router copy assignment operator is disallowed.</div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_route_manager_html_a62b76ca8cab68a61efd72c5fe5d092dc"><div class="ttname"><a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a62b76ca8cab68a61efd72c5fe5d092dc">ns3::DGRRouteManager::BuildDGRRoutingDatabase</a></div><div class="ttdeci">static void BuildDGRRoutingDatabase()</div><div class="ttdoc">Build the routing database by gathering Link State Advertisements from each node exporting a DGRRoute...</div><div class="ttdef"><b>Definition</b> <a href="../../db/db2/dgr-route-manager_8cc_source.html#l00046">dgr-route-manager.cc:46</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_route_manager_html_a87bf2995a6dcd48692147452fea88d40"><div class="ttname"><a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a87bf2995a6dcd48692147452fea88d40">ns3::DGRRouteManager::AllocateRouterId</a></div><div class="ttdeci">static uint32_t AllocateRouterId()</div><div class="ttdoc">Allocate a 32-bit router ID from monotonically increasing counter.</div><div class="ttdef"><b>Definition</b> <a href="../../db/db2/dgr-route-manager_8cc_source.html#l00062">dgr-route-manager.cc:62</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_route_manager_html_ab0c2ea34c378e91e6dce16c51fc005f1"><div class="ttname"><a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#ab0c2ea34c378e91e6dce16c51fc005f1">ns3::DGRRouteManager::DGRRouteManager</a></div><div class="ttdeci">DGRRouteManager(DGRRouteManager &amp;srm)</div><div class="ttdoc">Global Route Manager copy construction is disallowed.</div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_route_manager_html_acea317a83af55525aa4453f33839db3a"><div class="ttname"><a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#acea317a83af55525aa4453f33839db3a">ns3::DGRRouteManager::DeleteDGRRoutes</a></div><div class="ttdeci">static void DeleteDGRRoutes()</div><div class="ttdoc">Delete all static routes on all nodes that have a DGRRouterInterface.</div><div class="ttdef"><b>Definition</b> <a href="../../db/db2/dgr-route-manager_8cc_source.html#l00038">dgr-route-manager.cc:38</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_route_manager_html_ad637a566676faf22176f66f1afdb8c3c"><div class="ttname"><a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#ad637a566676faf22176f66f1afdb8c3c">ns3::DGRRouteManager::InitializeRoutes</a></div><div class="ttdeci">static void InitializeRoutes()</div><div class="ttdoc">Compute routes using a Dijkstra SPF computation and populate per-node forwarding tables.</div><div class="ttdef"><b>Definition</b> <a href="../../db/db2/dgr-route-manager_8cc_source.html#l00054">dgr-route-manager.cc:54</a></div></div>
<div class="ttc" id="anamespacens3_html"><div class="ttname"><a href="../../d7/d2e/namespacens3.html">ns3</a></div><div class="ttdef"><b>Definition</b> <a href="../../d5/d65/dgr-application-helper_8cc_source.html#l00027">dgr-application-helper.cc:27</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_3f14f6767c31cb4a1d22c13c18cc6fc3.html">model</a></li><li class="navelem"><a class="el" href="../../dc/dd8/dgr-route-manager_8h.html">dgr-route-manager.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
